package com.by.zhdoctor.repository;

import com.by.zhdoctor.domain.Click;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.repository.*;

import java.util.List;
import java.util.Optional;

/**
 * Spring Data JPA repository for the Click entity.
 */
@SuppressWarnings("unused")
public interface ClickRepository extends JpaRepository<Click,Long> {
    Page<Click> findAllByClicker(String clicker,Pageable pageable);

    Page<Click> findAllByTopic(int Topic,Pageable pageable);
}
